package main

import (
	"fmt"
	"os"
)

func main() {
	f, err := os.Create("c://a.txt")
	if err != nil {
		fmt.Println(err)
	}
	defer f.Close()
	n, err := f.WriteString("zhongbo")
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(n)

}
